package com.xxxy;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHanler {

    public String helloBlocaHandler(BlockException e) {
        System.out.println("网路繁忙，请稍后再试你");
        return "网络繁忙请稍再试";
    }
}
